import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'business/list',
    data: info,
    method: 'post'
  })
}

export const insertEnter = info => {
  return axios.request({
    url: 'business/insertEnter',
    data: info,
    method: 'post'
  })
}
export const updateEnter = info => {
  return axios.request({
    url: 'business/updateEnter',
    data: info,
    method: 'post'
  })
}
export const deleteEnter = info => {
  return axios.request({
    url: 'business/deleteEnter',
    data: info,
    method: 'post'
  })
}
export const getBusinessInfo = info => {
  return axios.request({
    url: 'business/getBusinessInfo',
    data: info,
    method: 'post'
  })
}

export const setBusinessInfo = info => {
  return axios.request({
    url: 'business/setBusinessInfo',
    data: info,
    method: 'post'
  })
}
